﻿using Conference.Core.Dl;
using TeaLightV5.Foundation.BL;
using TeaLightV5.Foundation.Sal.Interfaces;

namespace Conference.Core.DL
{
    public class Repository : TeaLightV5.Foundation.Dal.Repository
    {
        public static IRepositoryBase<T> GetRepository<T>()
            where T : IEntity<string>, new()
        {
            return GetRepository<T, string>() as IRepositoryBase<T>;
        }
    }
}
